package com.hzvdvmc.autosale.setting.bean;

/**
 * Created by william on 2018/1/16.
 */

public enum RoleEnum {
    //超管
    Superadmin(4, "超级管理员"),
    //工厂人员
    Factory(3, "工厂人员"),
    //管理员
    Admin(2, "管理员"),
    //补货员
    Suppler(1, "补货员");
    private int permission;
    private String role;


    RoleEnum(int permission, String role) {
        this.permission = permission;
        this.role = role;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public int getPermission() {
        return permission;
    }

    public void setPermission(int permission) {
        this.permission = permission;
    }
}
